﻿using System.Collections.Generic;
using ProjectFootball.Foundation.Entities;

namespace ProjectFootball.Models.Entities.Main
{
    public class Organisation : BaseHeaderEntity<OrganisationV>
    {
        public Organisation()
        {
            CompetitionVs = new HashSet<CompetitionV>();
            CountryVs = new HashSet<CountryV>();
            Versions = new HashSet<OrganisationV>();
            ParentOrganisationVs = new HashSet<OrganisationV>();
        }

        #region Navigation properties
        public virtual ICollection<CompetitionV> CompetitionVs { get; set; }
        public virtual ICollection<CountryV> CountryVs { get; set; }
        public virtual ICollection<OrganisationV> ParentOrganisationVs { get; set; }
        #endregion
    }
}
